﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.BOM
{
    [Table("tb_BillOfMaterialDetails")]
    public class BillOfMaterialDetails : AuditedEntity<int>, ISoftDelete
    {

        /// <summary>
        /// BOM编号
        /// </summary>
        public string Numberbom { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string Materialnumber { get; set; }

        /// <summary>
        /// 使用量
        /// </summary>
        public int Usageamount { get; set; }

        /// <summary>
        /// 使用比例
        /// </summary>
        public int Useratio { get; set; }

        /// <summary>
        /// 配件类型  1代表物料2代表产品
        /// </summary>
        public string Accessorytype { get; set; }

        public bool IsDeleted { get; set; }
    }
}
